﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using XStudio.XCRF.Data;
using XStudio.XCRF.Data.Tools;

namespace XStudio.XCRF.DatabaseBuilder
{
    class Program
    {
        static void Main(string[] args)
        {
            Console.Title = "XCRF Databasebuilder";
            Console.WriteLine("警告：创建数据库将清空现有数据库！");
            Console.WriteLine("按任意键开始建立数据库");
            Console.ReadKey();
            Console.WriteLine("正在创建...");
            XCRFDatabaseManager.DropDatabase();
            XCRFDatabaseManager.BuildDatabase();
            Console.WriteLine("数据库建立完毕，按任意键退出");
            Console.ReadKey();
        }
    }
}
